#include <REGX52.H>
#include "Delay.h"
#include "74HC164.h"

void main(){
	unsigned char i=0xFF;
	_74HC164_Init();
	while(1)
	{
		_74HC164_SendByte(i--);
		if(i<=0x00)
		{
			i=0xFF;
		}
		Delay(100);
	}
}